<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
    AutoEventWireup="true" CodeBehind="Wall.aspx.cs" Inherits="Ashlen.Portal.Web.Views.News.Wall" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">     
    <title><%= Html.Encode(ViewData["Title"]) %></title>
        
    <%= Html.Link("~/Content/News.css") %>
    <%= Html.Script("~/Scripts/News.js") %>

    <script type="text/javascript">
        // <![CDATA[
        $(document).ready(function() {
            documentLoad();
        });        
        // ]]> 
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>News Headlines</h1>   
    <form id="newsWallForm" action="">
    <div class="newsRangeSelector">
       <input id="topHeadlines" class="newsRangeSelected" type="button" value="Most Recent Stories Today" /> | 
       <input id="topIn24Hr" type="button" value="Most Read Stories Today" class="newsRange" /> | 
       <input id="topWeek" type="button" value="Most Read Stories This Week" class="newsRange" /> 
    </div>
    <div id="newsCategorySection">
        <strong>Categories</strong>
        <div id="newsCategory">
        </div>
    </div>
    <div id="newsSearch">
       Search: &nbsp<input id="txtSearch" type="text" size="100"; maxlength="255"/>
        <input id="btnSearch" type="button" value="Search" />
        <input id="btnClear" type="button" value="Clear" />
        <a id="advancedSearchHref" href="#">Advanced Search</a>
    </div>   
    <div id="error">
    </div>
    <div id="advancedNewsSearch">
        <table>
        <tr>
        <td>
            News Provider:
            </td>
            <td> <div id="searchNewsSourceSelectionDiv">
            </div>
            </td>
            <td>Start Date:</td>
            <td><input id="searchStartDate" type="text"/></td>
            <td>End Date:</td>
            <td>
                <input id="searchEndDate" type="text" />
            </td>         
            <td>Sort by:</td>
            <td>
            <div id="searchSortByDiv">                
            </div></td>   
            <td>
                <input id="btnHideSearch" type="button" value="Hide Me" />
            </td>
        </tr>
        </table>
    </div>
    <div>
    <strong>Tip: Click on the News provider name in the list to only see its news.</strong>
    </div>
    <img id="imgLoading" src="../../Images/loading_animated.gif" alt="Loading ..." visible="false" />
    <!-- Create a three-column layout to display news stories in summary format -->
    <div id="newsWall" />
    <div id="newsWallTable"/>
    </form>
</asp:Content>
